[−][src]Crate substrate_prometheus_endpoint
Re-exports
pub use prometheus; |
Structs
Counter | The underlying implementation for |
F64 | A atomic float. |
Gauge | |
Histogram | A |
HistogramOpts | A struct that bundles the options for creating a |
I64 | A atomic signed integer. |
Opts | A struct that bundles the options for creating most |
Registry | A struct for registering Prometheus collectors, collecting their metrics, and gathering
them into |
U64 | A atomic unsigned integer. |
Enums
PrometheusError | The error types for prometheus. |
Traits
MetricSource | A source of values for a [ |
Functions
exponential_buckets | Create |
init_prometheus | Initializes the metrics context, and starts an HTTP server to serve metrics. |
register |
Type Definitions
CounterVec | The underlying implementation for |
GaugeVec | The underlying implementation for |
HistogramVec | A |
SourcedCounter | A counter whose values are obtained from an existing source. |
SourcedGauge | A gauge whose values are obtained from an existing source. |